﻿using System.Windows;

namespace Win7RovMobileApp
{
    /// Helper class to simulate a game-animation on the gauge
    public class GaugeAnimation : DependencyObject
    {
        
        public double Score
        {
            get { return (double)GetValue(ScoreProperty); }
            set { SetValue(ScoreProperty, value); }
        }

        // Using a DependencyProperty as the backing store for Score.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty ScoreProperty =
            DependencyProperty.Register("Score", typeof(double), typeof(GaugeAnimation), new PropertyMetadata(double.MinValue));


        public GaugeAnimation(double scr)
        {
            this.Score = scr;
        }

    }
}
